package com.asset.dispoal.business.mediation.api;

import com.asset.dispoal.business.mediation.dto.CollectionRecordResponse;
import com.asset.dispoal.business.mediation.dto.QueryCollectionRecordRequest;
import com.asset.dispoal.business.mediation.dto.SaveCollectionRecordRequest;
import tech.mhuang.pacebox.springboot.protocol.Result;
import tech.mhuang.pacebox.springboot.protocol.data.PageVO;

/**
 * @description:
 * @author: yf
 * @date: 2022-09-13 10:38:23
 */
public interface CollectionRecordService {
    /**
     * 催收记录保存接口
     *
     * @param request
     * @return
     */
    Result save(SaveCollectionRecordRequest request);


    /**
     * 条件查询返回列表
     *
     * @param request
     * @return
     */
    Result<PageVO<CollectionRecordResponse>> query(QueryCollectionRecordRequest request);
}
